package lab;

import java.util.Date;

import org.lightcouch.Document;

public class ChatMessage extends Document {

    private long messageId;

    private String content;

    private Date timeStamp;

    private String user;

    public ChatMessage(long messageId, String content, Date timeStamp, String user) {
        super();
        this.messageId = messageId;
        this.content = content;
        this.timeStamp = timeStamp;
        this.user = user;
    }

    public long getMessageId() {
        return messageId;
    }

    public void setMessageId(long messageId) {
        this.messageId = messageId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(Date timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

}
